package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商家交易订单对象 tb_merchant_service_transaction_record
 * 
 * @author lzd
 * @date 2024-09-10
 */
public class TbMerchantServiceTransactionRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 交易记录id */
    private Long transactionId;

    /** 商家id */
    @Excel(name = "商家id")
    private Long merchantId;

    /** 交易总金额 */
    @Excel(name = "交易总金额")
    private Long transactionPrice;

    /** 查字典，字典ID为4-9 */
    @Excel(name = "查字典，字典ID为4-9")
    private Long transactionStatus;

    /** 交易时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交易时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date transactionTime;

    /** 计费方式 */
    @Excel(name = "计费方式")
    private String billingMethod;

    /** 删除标识（0表示存在，2表示删除） */
    private String delFlag;

    public void setTransactionId(Long transactionId) 
    {
        this.transactionId = transactionId;
    }

    public Long getTransactionId() 
    {
        return transactionId;
    }
    public void setMerchantId(Long merchantId) 
    {
        this.merchantId = merchantId;
    }

    public Long getMerchantId() 
    {
        return merchantId;
    }
    public void setTransactionPrice(Long transactionPrice) 
    {
        this.transactionPrice = transactionPrice;
    }

    public Long getTransactionPrice() 
    {
        return transactionPrice;
    }
    public void setTransactionStatus(Long transactionStatus) 
    {
        this.transactionStatus = transactionStatus;
    }

    public Long getTransactionStatus() 
    {
        return transactionStatus;
    }
    public void setTransactionTime(Date transactionTime) 
    {
        this.transactionTime = transactionTime;
    }

    public Date getTransactionTime() 
    {
        return transactionTime;
    }
    public void setBillingMethod(String billingMethod) 
    {
        this.billingMethod = billingMethod;
    }

    public String getBillingMethod() 
    {
        return billingMethod;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("transactionId", getTransactionId())
            .append("merchantId", getMerchantId())
            .append("transactionPrice", getTransactionPrice())
            .append("transactionStatus", getTransactionStatus())
            .append("transactionTime", getTransactionTime())
            .append("billingMethod", getBillingMethod())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
